﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DataAccess;
using System.Data;

namespace Bussiness {
    public class CarrierBuss {
        public DataTable getCarriers() {
            CarrierRepository res = new CarrierRepository();
            return res.getCarrier();
        }

        public int update(String name, String info, String wsName, String linkWS, String pvdID, String pvdPwd, String creditCardNumber, String creditCardHolderName, String creditCardSecureNum) {
            CarrierRepository repository = new CarrierRepository();
            return repository.update(name, info, wsName, linkWS, pvdID, pvdPwd, creditCardNumber, creditCardHolderName, creditCardSecureNum);
        }
    }
}
